﻿using System;


namespace com.guysherman.simulclass.testhelpers
{
    public class EmptyClass { }

    public class PrimitiveFieldsClass
    {
        int integer;
        float singlePrecision;
        double doulblePrecision;
        decimal decimalNumber;
        bool boolean;
        char character;
        byte chew;
        short smallInt;
        long bigInt;
        sbyte signedByte;
        ushort unsignedShort;
        uint unsignedInt;
        ulong unsignedLong;
        string twine;
    }

    public class ComplexClass
    {
        internal EmptyClass ec;

        public void RefTestMethod(ref EmptyClass ec) { }

    }

    public class InterestingClass
    {
        private int valField;
        internal string stringField;
        public EmptyClass refField;

        public int GetValField()
        {
            return valField;
        }

        public string GetStringField()
        {
            return stringField;
        }

        public EmptyClass GetRefField()
        {
            return refField;
        }

        public void SetValField(int value)
        {
            valField = value;
        }

        public void SetStringField(string valueString)
        {
            stringField = valueString;
        }

        public void SetRefField(EmptyClass valueRef)
        {
            refField = valueRef;
        }


        public void GetAll(ref int val, ref string str, ref EmptyClass ec)
        {
            val = valField;
            str = stringField;
            ec = refField;
        }

    }


}